package cn.com.haopy.yue.ai.db.entity.arisk;

import cn.com.haopy.yue.ai.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

/**
 * @Description: TODO
 * @Author DuTao
 * @Date 2025/3/26 10:05
 */
@Data
@TableName(value = "arisk_topic_optios", autoResultMap = true)
@ApiModel(value = "AI题目答案表")
public class AIRiskTopicOptions extends BaseEntity {
    @TableField(value = "topic_id", jdbcType = JdbcType.INTEGER)
    @ApiModelProperty(value = "题目id")
    private Integer topicId;

    @TableField(value = "option_name", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "答案名称")
    private String optionName;

    @TableField(value = "option_value", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "答案枚举值")
    private String optionValue;

    @TableField(value = "sort_index", jdbcType = JdbcType.INTEGER)
    @ApiModelProperty(value = "排序")
    private Integer sortIndex;
}
